<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>2017运势预测</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">

    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <!-- uc强制竖屏 -->
    <meta name="screen-orientation" content="portrait">
    <!-- QQ强制竖屏 -->
    <meta name="x5-orientation" content="portrait">

    <link rel="stylesheet" type="text/css" href="css/reset.css">
    <link rel="stylesheet" type="text/css" href="css/result2017.css">

    <script>
        if (typeof Stars == "undefined") {
            var Stars = {};
        }
        console.log(Stars);
        (function(maxWidth, originSize){
            var width = document.documentElement.clientWidth;
            var Standard = originSize / (maxWidth * 1.0 / width);
            Standard = Standard > 100 ? 100 : Standard;
            document.querySelector("html").style.fontSize = Standard + "px";
        })(750, 100);
    </script>
</head>
<body>
<div class="body">
    <div class="header">
        <div class="clearfix">
            <div class="back"><a href="javascript:history.back();"></a></div>
        </div>
    </div>

    <ul class="result_list" id="result_list"></ul>
</div>

<script type="text/template" id="results">

    {{ for( var i=0;i < it['fortune-list'].fortune.length;i++){ }}
        <li class="{{=i==0?'title':''}}">
            <div class="bg">
                <span class="h3">{{=it['fortune-list'].fortune[i].f_topic_s['#text']}}</span>
                <span class="re_title">{{=it['fortune-list'].fortune[i].f_title_s['#text']}}</span>
            </div>


            {{ if(it['fortune-list'].fortune[i].f_content_s['#text']){ }}
                <div class="clearfix line_box">
                    <span class="fl line"></span>
                    <span class="fr line"></span>
                </div>
                <div class="bg">
                {{ if(it.info.is_buy.content['#text'] == 1 ){ }}
                    <span class="test_result">{{=it['fortune-list'].fortune[i].f_content_s['#text']}}</span>
                {{ }else{ }}
                    <span class="mistiness">
                        <span class="lock_img" onclick="window.fortune.buyaction(16, {{=it.info.record_id.content['#text']}})"><img src="./images/lock_img.png"/></span>
                        <span class="lock_tip">本章共有{{=it['fortune-list'].fortune[i].f_content_s_count['#text']}}字</span>
                        <span class="lock_tip">解锁获取所有内容</span>
                    </span>
                {{ } }}
                </div>
            {{ } }}
        </li>
    {{ } }}
</script>


<script type="text/javascript" src="js/lib/zepto.fastclick.doT.layer.min.js"></script>
<script src="js/result2017.js"></script>


</body>
</html>